From 2268abe48fd5fbfaa25f9468e3843ac1e84d9c89 Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 19 Nov 2001 22:04:24 +0000 Subject: [PATCH] show notebook->event_window with gdk_window_show_unraised(), so it doesn't 2001-11-19 Michael Natterer * gtk/gtknotebook.c: show notebook->event_window with gdk_window_show_unraised(), so it doesn't catch the events which should go to the tab widgets first. --- ChangeLog | 6 ++++++ ChangeLog.pre-2-0 | 6 ++++++ ChangeLog.pre-2-10 | 6 ++++++ ChangeLog.pre-2-2 | 6 ++++++ ChangeLog.pre-2-4 | 6 ++++++ ChangeLog.pre-2-6 | 6 ++++++ ChangeLog.pre-2-8 | 6 ++++++ gtk/gtknotebook.c | 4 ++-- 8 files changed, 44 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 7d99a3b841..d1d82e3dd5 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +2001-11-19 Michael Natterer + + * gtk/gtknotebook.c: show notebook->event_window with + gdk_window_show_unraised(), so it doesn't catch the events which + should go to the tab widgets first. + Mon Nov 19 15:30:51 2001 Jonathan Blandford * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_class_init): Add a diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index 2c97fff6b8..498a52856d 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -823,7 +823,7 @@ gtk_notebook_map (GtkWidget *widget) } if (gtk_notebook_get_event_window_position (notebook, NULL)) - gdk_window_show (notebook->event_window); + gdk_window_show_unraised (notebook->event_window); } static void @@ -3809,7 +3809,7 @@ gtk_notebook_insert_page_menu (GtkNotebook *notebook, notebook); if (notebook->show_tabs && GTK_WIDGET_MAPPED (notebook)) - gdk_window_show (notebook->event_window); + gdk_window_show_unraised (notebook->event_window); gtk_widget_child_notify (child, "tab_expand"); gtk_widget_child_notify (child, "tab_fill"); -- 2.30.2